home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / msoftapp.zip / VIEWER.H < prev    next >
C/C++ Source or Header  |  1993-06-01  |  1KB  |  48 lines

  1. // viewer.h : Declares the class interfaces for the MDI sample application.
  2.  
  3. #ifndef __VIEWER_H__
  4. #define __VIEWER_H__
  5.  
  6. #include<afxwin.h>
  7. #include<afxdlgs.h>
  8. #include<afxext.h>
  9.  
  10. #include"resource.h"
  11. #include"common.h"
  12. //#include"mydlgs.h"
  13. #include"hello.h"
  14. #include"bounce.h"
  15. #include"filewin.h"
  16. #include"bbutton.h"
  17.  
  18. class CMainWindow : public CMDIFrameWnd
  19.     {
  20. public:
  21.     CMenu*    m_pMenuInit;
  22.  
  23.     CMainWindow(void);
  24.     virtual ~CMainWindow(void);
  25.  
  26.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  27.     afx_msg void OnAbout(void);
  28.     afx_msg void OnNewHello(void);
  29.     afx_msg void OnNewBounce(void);
  30.     afx_msg void OnExit(void);       
  31.     afx_msg void OnNewFileWin(void);
  32.     afx_msg void OnButtonTestDlg(void);
  33.  
  34.     // custom message and handler used by child windows to notify
  35.     // parent of death
  36.     afx_msg LONG OnChildDestroy(UINT wParam, LONG lParam);
  37.     DECLARE_MESSAGE_MAP()
  38.     };
  39.  
  40. class CTheApp : public CWinApp
  41.     {
  42. public:
  43.     virtual BOOL InitInstance(void);
  44.     };
  45.  
  46. #endif // __VIEWER_H__
  47.  
  48.